import React from "react";
import { useRouteMatch } from "umi";
export default function (props:any) {
    console.log(useRouteMatch());
    
    return (
        <fieldset>
            <legend>动态路由</legend>
            <h1>动态路由参数:{props.match.params.id}</h1>
        </fieldset>
    )
}